<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>包发布</title>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/packagemgr.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/themes/icon.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/util/map.js"></script>

	</head>
		<style>
			.p_c_action_type1 {
				background-color:#EDF2F5;
			}
		</style>
	<body>
		<div id="publishBody" style="overflow:hidden">
			 <!--
		  <div class="label"></div> -->
		  <div id="publishPanel" style="margin-left:0px;">
		    <div class="label">包适用地区(默认发布在所有地区)
		      <input type="button"  style="float:right" value="编辑地区范围" onClick="javascript:editArea();" />
		    </div>
		    <div class="publishEdit">
		      <textarea name="packageArea" id="packageArea" readonly="readonly" style="width:100%; height:80px;font-size:12px;font-weight:normal;"></textarea>
		      <input type="hidden" id="publishArea" />
		    </div>
		    <div class="label">包受理渠道(默认发布在所有渠道)
		      <input type="button"  style="float:right" value="编辑渠道范围"   onclick="javascript:editChannel();"/>
		    </div>
		    <div class="publishEdit">
		      <textarea name="packageChannel" id="packageChannel" readonly="readonly" style="width:100%; height:80px;font-size:12px;font-weight:normal;"></textarea>
		      <input type="hidden" id="publishChannel" />
		    </div>

		  </div>
		  <div style=" margin-right:10px; margin-top:8px;text-align:right;">
		    <input type="button" value="确定" onClick="javascript:publishConfirm();" />
		    <input type="button" value="取消" onClick="javascript:publishCancle();"  />
		  </div>
		</div>

 			<div id="areaEdit" class="p_c_action_type1"></div>
		    <div id="channelEdit" class="p_c_action_type1"></div>
		    <div id="segmaEdit"></div>
 		<div id="progBar" class="easyui-progressbar" style="width:400px;"></div>
		<script type="text/javascript">

			var packageAreaId = ${param.packageAreaId};
			var packageId =${param.packageId};


			var threeLevelMap = new Map();

			$(function(){
				initModule(packageId);
			});
		</script>
	</body>
</html>
